package com.itheima.service.pmsService;

import com.itheima.commons.PageBean;
import com.itheima.domain.db.pms.PmsBrand;

import java.util.List;

public interface BrandService {

    //根据品牌名称分页获取品牌列表
    PageBean<PmsBrand> getBrandList(String keyword, Integer pageNum, Integer pageSize);

    void saveBrand(PmsBrand brand);

    void deleteBrand(List<Long> ids);

    void deleteById(Integer id);

    List<PmsBrand> listAll();

    void updateFactoryStatus(Integer factoryStatus, Integer[] ids);

    void updateShowStatus(Integer showStatus, Integer[] ids);

    void updateById(PmsBrand brand);

    PmsBrand getById(Long id);
}
